Introduction

In this lesson, we'll look at a quick introduction to Consul and a chapter walkthrough.

Where does Consul come from?#

Consul is a product of the company Hashicorp, which offers various products in the field of microservices and infrastructure. Of course, Hashicorp also offers commercial support for Consul.

License and technology#

Consul is an open source product. It is written in Go and is licensed under the Mozilla Public License 2.0. The code is available at GitHub.

Chapter walkthrough#

This chapter shows an implementation for a synchronous microservices system with Consul and the Apache httpd server.

Essential contents of the chapter are:

  • Consul is a very powerful service discovery technology.

  • Apache httpd can be used as a load balancer and router for HTTP requests in a microservices system.

  • Consul Template can create a configuration file for the Apache httpd server that includes information about all registered microservices. Consul Template configures and restarts Apache httpd when new microservice instances are started.

                                                 Q U I Z  

1

What is consul?

A)

A complete routing solution

B)

A very powerful service discovery technology

C)

A load balancer

Question 1 of 20 attempted

In the next lesson, we’ll look at an example of REST with Consul and Apache httpd.

Experiments
Example
Mark as Completed
Report an Issue